import dataProvider from '../../service/dataProvider'

Page({
  data: {
    list: dataProvider.categories,
    pageIndex: 0,
  },
  showMore: function (e) {
    // 跳转详情页
    var item = e.currentTarget.dataset.item;
    console.log(item);
    wx.navigateTo({
      url: "./list/index?id=" + item.id
    });
  },
})